package com.ysstech.system.mapper;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ysstech.common.entity.Menu;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 菜单Mapper 接口
 * </p>
 *
 * @author lishuangliang
 * @since 2020-09-12
 */
@Component
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 角色所拥有的菜单集合
     *
     * @param roleId
     * @return
     */
    List<Menu> queryMenuByRoleId(String roleId);

}